# TODO 第一种
try:
    num = int(input('数字:'))
    result = 1 / num

    # print(name)
except Exception as e:
    print(e)

# TODO 第二种
try:
    num = int(input('数字:'))
    result = 1 / num

    print(name)
except:
    print('代码有错误')






